<%@include file="../common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Connection Page</title>
</head>
<body>
<html:form action="/connect.do">

	<table width="800">
		<tr>
			<td>
			<table width="400" style="width: 320px; height: 57px" align="center">
			<tr>
					<td>Connection Status:</td>
					<td><html:text property="connStatus" readonly="true"></html:text></td>

				</tr>
				<tr>
					<td colspan="2"><html:messages id="connStatus" message="true"
						property="connStatus">
						<font color ="red"><bean:write name="connStatus"></bean:write></font>
					</html:messages></td>
				</tr>
				<tr>
					<td>Host Name:</td>
					<td><html:text property="hostName"></html:text></td>

				</tr>
				<tr>
					<td colspan="2"><html:messages id="hostName" message="true"
						property="hostName">
						<font color ="red"><bean:write name="hostName"></bean:write></font>
					</html:messages></td>
				</tr>
				<tr>
					<td>Port</td>
					<td><html:text property="port"></html:text></td>
				</tr>
			<tr>
					<td colspan="2"><html:messages id="port" message="true"
						property="port">
						<font color="red"><bean:write name="port"></bean:write></font>
					</html:messages></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><html:submit property="connect"
						value="Connect"></html:submit></td>

				</tr>
			</table>
			</td>
		</tr>
	
	</table>
</html:form>
</body>
</html:html>